<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>我的作品集</title><meta name="author" content="金桔猪"><meta name="copyright" content="金桔猪"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="喜欢就要认真做">
<meta property="og:type" content="website">
<meta property="og:title" content="我的作品集">
<meta property="og:url" content="https://pighog.vercel.app/index.html">
<meta property="og:site_name" content="我的作品集">
<meta property="og:description" content="喜欢就要认真做">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pighog.vercel.app/img/0.jpg">
<meta property="article:author" content="金桔猪">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://pighog.vercel.app/img/0.jpg"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://pighog.vercel.app/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><meta/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":false,"languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: {"limitDay":500,"position":"top","messagePrev":"It has been","messageNext":"days since the last update, the content of the article may be outdated."},
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: {"limitCount":10,"languages":{"author":"作者: 金桔猪","link":"链接: ","source":"来源: 我的作品集","info":"著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。"}},
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '我的作品集',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2022-05-20 23:38:12'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="referrer" content="never"><link rel="stylesheet" href="https://theme.pigp.repl.co/css/index.acfdffc3.css"><link rel="stylesheet" href="https://getoken.pighog.repl.co/heoMainColor.css"><link rel="stylesheet" href="https://getoken.pighog.repl.co/rightmenu.css"><link rel="stylesheet" type="text/css" href="https://getoken.pighog.repl.co/categoryBar.css"><!-- hexo injector head_end start --><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-swiper/swiper/swiper.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-swiper/swiper/swiperstyle.css"><!-- hexo injector head_end end --><meta name="generator" content="Hexo 6.2.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/0.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">14</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">17</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa-solid fa-child"></i><span> 我的</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/musics/"><i class="fa-fw fa fa-music"></i><span> 音乐分享</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fa fa-film"></i><span> 电影分享</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 文章分类</span></a></li><li><a class="site-page child" href="/gallery/"><i class="fa-fw fa-solid fa-photo-film"></i><span> 相册分享</span></a></li><li><a class="site-page child" href="/about/"><i class="fa-fw fa fa-heart"></i><span> 关于本站</span></a></li></ul></div><div class="menus_item"><a class="site-page" target="_blank" rel="noopener" href="https://allblog.vercel.app/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('/img/bg.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">我的作品集</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa-solid fa-child"></i><span> 我的</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/musics/"><i class="fa-fw fa fa-music"></i><span> 音乐分享</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fa fa-film"></i><span> 电影分享</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 文章分类</span></a></li><li><a class="site-page child" href="/gallery/"><i class="fa-fw fa-solid fa-photo-film"></i><span> 相册分享</span></a></li><li><a class="site-page child" href="/about/"><i class="fa-fw fa fa-heart"></i><span> 关于本站</span></a></li></ul></div><div class="menus_item"><a class="site-page" target="_blank" rel="noopener" href="https://allblog.vercel.app/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">我的作品集</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://space.bilibili.com/156751467" target="_blank" title="BliBli"><i class="fa-brands fa-bilibili"></i></a><a class="social-icon" href="mailto:mail@pigpigeon.onmicrosoft.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="https://qm.qq.com/cgi-bin/qm/qr?k=2wPlQeQh4Dy5o3hcKUve5I0A4NkZRdIR&amp;noverify=0" target="_blank" title="QQ"><i class="fab fa-qq"></i></a><a class="social-icon" href="https://cloud.learnonly.xyz" target="_blank" title="Cloud"><i class="fa-solid fa-cloud-arrow-up"></i></a><a class="social-icon" href="https://alist.learnonly.xyz" target="_blank" title="Cloud"><i class="fa-solid fa-cloud-arrow-down"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/p/799e.html" title="使用GithubAction给任意网页截图"><img class="post_bg" src="https://bing.icodeq.com/?1" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用GithubAction给任意网页截图"></a></div><div class="recent-post-info"><a class="article-title" href="/p/799e.html" title="使用GithubAction给任意网页截图">使用GithubAction给任意网页截图</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-05-08T00:15:08.000Z" title="发表于 2022-05-08 08:15:08">2022-05-08</time></span></div><div class="content">前言：最近白嫖 Replit 的时候发现了一个能在 vercel 部署的网页截图程序：valetzx&#x2F;websnap 可以将网页截图并展示 DEMO 以下截图是该程序为本页生成的实时渲染。但是这个程序有个非常不友好的BUG就是截图网页中有中文时，中文会被渲染成方框，简单来说就是（ 缺 字 体 ）可是 vercel 的环境非常封闭?比较难去添加字体给系统。

那为什么不用 iframe 标签呢？整个网页的渲染相比图片还是比较吃力的，我们完全可以把渲染交给服务器。并且网页截图能做更多东西，比如网页快照等等等等（图片是可以永久保存的）而 iframe 是真实时。
当时我的朋友 zkeq 也照着写了个Python程序：zkeq&#x2F;Python-WebSite-Screenshot: 一款支持截图中文网站的 Actions 截图工具 使用GithubAction的好处在于，我们可以给整个系统添加中文，并且保存图片到仓库。当然也有缺点，比如不能 实时 渲染图片了。

当然这个程序的使用非常的简单，下图是本文章的截图（来自GithubRaw）：

准备：
准备一个 Github 账 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/p/34c.html" title="使用Graph获取微软永久客户端秘钥"><img class="post_bg" src="https://bing.icodeq.com/?550029691" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用Graph获取微软永久客户端秘钥"></a></div><div class="recent-post-info"><a class="article-title" href="/p/34c.html" title="使用Graph获取微软永久客户端秘钥">使用Graph获取微软永久客户端秘钥</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-04-30T15:15:22.000Z" title="发表于 2022-04-30 23:15:22">2022-04-30</time></span></div><div class="content">前言：现在微软客户端秘钥client_secret有效期24个月，但是还是可以获得永久的secret的。方便一次设置 永久（理论）续订！
开始：
打开 https://developer.microsoft.com/en-us/graph/graph-explorer
点最左边蓝色 Sign in to Graph Explorer 登录
右边 框框 Modify permissions (Preview) 将所有权限√同意
左侧栏，Applications (8) ，下面找到绿色的POST ，有两个，选择，create a new application ，双击就会在右侧呈现（创建新应用程序）
打开 应用注册 选择想获取永久秘钥的应用程序，复制对象ID 不是client_id！不是 应用程序(客户端)ID！是 对象ID！
再回到Graph Explorer，将POST的URL地址替换为 https://graph.microsoft.com/v1.0/applications/你的对象ID/addPassword 
将 Request body 中内容删除，替换为：

123456& ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/p/c99d.html" title="在Replit中自建监控网站"><img class="post_bg" src="https://bing.icodeq.com/?550029691" onerror="this.onerror=null;this.src='/img/404.gif'" alt="在Replit中自建监控网站"></a></div><div class="recent-post-info"><a class="article-title" href="/p/c99d.html" title="在Replit中自建监控网站">在Replit中自建监控网站</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-04-22T15:15:22.000Z" title="发表于 2022-04-22 23:15:22">2022-04-22</time></span></div><div class="content">前言：废话不多说，这篇文章胶凝在replit上白嫖一个网站监控，并设置企业微信通知。
本次一键部署资源可以在我的仓库Star获取：valetzx starlist replit 
准备：注册 Replit，准备好教育仓库。
这里要用到nodejs监控，和Python企业微信通知
浏览仓库：louislam&#x2F;uptime-kuma 监控主程序
浏览仓库：easychen&#x2F;wecomchan 微信通知
开始：转到仓库：在replit自建uptime-kuma监控 (github.com) 一键部署监控主程序。
注意！！！第一次运行成功后请注释掉 main.sh 文件中的 git clone 命令！！！

在教育仓库中新建Python项目，将uptimekumaonreplit仓库中的 main.py 粘贴至Python项目仓库中。在运行前执行 pip install python-multipart 指令。

main.py 来自 Zkeq Github &#x2F; Blog


在补全企业微信相应信息后，点顶部绿色 Run，运行通知服务。
当Python通知程序成功 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/p/1849.html" title="在Replit中配置Nix环境"><img class="post_bg" src="https://gitlab.com/valetzx/pubfile/raw/main/img/computer/star1.jpg" onerror="this.onerror=null;this.src='/img/404.gif'" alt="在Replit中配置Nix环境"></a></div><div class="recent-post-info"><a class="article-title" href="/p/1849.html" title="在Replit中配置Nix环境">在Replit中配置Nix环境</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-04-20T04:15:22.000Z" title="发表于 2022-04-20 12:15:22">2022-04-20</time></span></div><div class="content">前言：在Replit中白嫖 时，一定会遇到有不能一键部署的环境，那我们如何选择自己想要的环境呢？这里需要用到Replit环境中自带的 replit.nix 文件。Nix 是什么，我们要怎么使用，下面的文章会解答凝的疑问（
准备：其实没什么好准备的，在Replit准备一个Bash环境（理论上任意环境都行），打开仓库后，点文件最右边三个点，点显示隐藏文件，然后仓库根文件夹中会多出 .replit replit.nix 两个文件。我们要使用 replit.nix 配置环境。

开始：首先 Nix 是一个包管理器，就像一个软件库，我们可以用 replit.nix 直接使用 Nix 中的软件包。这里用 onedrive-vercel-index 做演示。
onedrive-vercel-index 是一个部署在 vercel 中的文件浏览程序，需要使用到 Next.js（属于vercel），我们可以在 Replit 直接创建 next.js 语言项目。

onedrive-vercel-index 还需要用到 Redis 缓存以及 pnpm包管理器。
我们浏览原始的 replit.nix 文件， ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/p/cb20.html" title="使用Replit白嫖3G MC 服务器"><img class="post_bg" src="https://img.pighog.repl.co/2022/03/psc.jpg" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用Replit白嫖3G MC 服务器"></a></div><div class="recent-post-info"><a class="article-title" href="/p/cb20.html" title="使用Replit白嫖3G MC 服务器">使用Replit白嫖3G MC 服务器</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-04-19T02:15:22.000Z" title="发表于 2022-04-19 10:15:22">2022-04-19</time></span></div><div class="content"> 


</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/p/aa4a.html" title="使用Replit白嫖各种语言项目"><img class="post_bg" src="https://img.pighog.repl.co/2022/03/psc3.jpg" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用Replit白嫖各种语言项目"></a></div><div class="recent-post-info"><a class="article-title" href="/p/aa4a.html" title="使用Replit白嫖各种语言项目">使用Replit白嫖各种语言项目</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-04-17T01:15:22.000Z" title="发表于 2022-04-17 09:15:22">2022-04-17</time></span></div><div class="content">前言：害呀，家里也疫情刚封了一半了，最近正好在捣鼓 Replit ，这玩意主要是能白嫖，似乎应用没有时间，没有流量限制。能挂很多东西，只是单个仓库的虚拟机配置比较蔡。不过跑跑正经项目肯定是够用的。这里列给大家看一下我挂的项目，下面应该都会写教程。本文在 Replit 首发哈哈！
Vue3博客，Busuanzi计数，Hexo博客，Kodbox可道云，OneManager-php，Panindex，Alist 等等。
准备：注册登录 Replit 并创建教育 Team（私有仓库）。
开始：在 Replit 中运行Bash项目：Panindex，Alist使用 Bash 运行Panindex Panindex 程序预览：https://pan.pighog.repl.co/1. 在教育Team创建Bash语言项目
2. 下载二进制程序amd64并解压至项目根目录3. 编写 .replit 及 main.sh 文件
.replit需要点右上角三个点Show显示！检查文件并修改成以下内容！检查.replit文件：12run = [&quot;bash&quot;, &quot;main.sh&q ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/p/a4f.html" title="使用脚本定时备份SSH中任意文件至SSH或任意网盘"><img class="post_bg" src="https://img.pighog.repl.co/2022/03/psc.jpg" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用脚本定时备份SSH中任意文件至SSH或任意网盘"></a></div><div class="recent-post-info"><a class="article-title" href="/p/a4f.html" title="使用脚本定时备份SSH中任意文件至SSH或任意网盘">使用脚本定时备份SSH中任意文件至SSH或任意网盘</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-04-04T00:20:22.000Z" title="发表于 2022-04-04 08:20:22">2022-04-04</time></span></div><div class="content">前言：跳过前言直准备接开始第三步为设置定时备份设置远程ip与密码时应删除``符号与空格。格式参照：
1234567expect -c &quot;spawn scp $bakdescdir/$orowner/$bakdata root@172.0.0.1 :$remotePath  expect &#123; \&quot;*password\&quot; &#123;set timeout 500; send \&quot;changethispasswd\r\&quot;;&#125; \&quot;yes/no\&quot; &#123;send \&quot;yes\r\&quot;; exp_continue;&#125; &#125;expect eof&quot;  

开始：准备好要备份的机器Linux等
1. 在需要备份的机器中执行  yum install -y expect 安装expect插件（可选 yum install -y coscmd 使用cos对象存储）2. 复制备份脚本 new.sh 至需要备份的机器 &#x2F;root3. 设置cron定时备份： ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/p/439d.html" title="使用ZeroTier居家办公"><img class="post_bg" src="https://gitlab.com/valetzx/pubfile/raw/main/img/computer/star1.jpg" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用ZeroTier居家办公"></a></div><div class="recent-post-info"><a class="article-title" href="/p/439d.html" title="使用ZeroTier居家办公">使用ZeroTier居家办公</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-03-22T14:22:22.000Z" title="发表于 2022-03-22 22:22:22">2022-03-22</time></span></div><div class="content">前言：疫情间需要居家办公怎么办？单位电脑有资料临时要用怎么办？本次给大家带来许多局域网应用教程。所有程序均在局域网运行，理论上没有被攻击的隐患。注意！以下教程使用到的阿里云盘在2022&#x2F;03&#x2F;28后均有概率封号。云盘请选择OneDrive或其他。
准备：安装好 Zerotier 并完成局域网连接。
开始：Zerotier（局域网P2P的神！）+Alist（一个网盘挂载程序）+ES file manager（ES文件浏览器）实现手机备份任意文件至任意网盘。使用ES文件浏览器手机备份任意文件至任意网盘 

文章备份：
使用Aria2+家用电脑+宝塔面板（辅助）+CloudDrive（辅助）实现网页离线下载文件至OneDrive&#x2F;阿里云盘&#x2F;天翼云盘&#x2F;115云盘等。使用Aria2离线下载文件至OneDrive 

文章备份：
使用KodBox搭建文件管理器，可以随时随地网页浏览电脑文件（支持浏览编辑Excel、Word、PPT、图片、文档、PDF、音乐等，甚至支持在线PS，在线CAD查看，NES模拟器游玩等丰富功能。）使用KodBox搭建文件管 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/p/a8f2.html" title="使用Typora写作并配置PicGo图床推荐"><img class="post_bg" src="https://img.pighog.repl.co/2022/03/psc3.jpg" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用Typora写作并配置PicGo图床推荐"></a></div><div class="recent-post-info"><a class="article-title" href="/p/a8f2.html" title="使用Typora写作并配置PicGo图床推荐">使用Typora写作并配置PicGo图床推荐</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-03-12T13:04:11.000Z" title="发表于 2022-03-12 21:04:11">2022-03-12</time></span></div><div class="content">前言：搭好博客需要开始写作了，如果你想在多个平台发布你的文章的话，一定少不了一个图床的使用。这里就不啰嗦图床是什么了（网上有一大堆Picgo+Github&#x2F;Gitee之类的教程）这里总结一下我用的图床以及配置教程。
准备：下载 PicGo（图片上传到图床的程序）
下载 Typora（用来写MarkDown的程序） 
开始：图床推荐这里不推荐使用Gitee（仓库小，图片超过5M不能直链显示，国内服务有实名审核等问题），但是后面会使用 GithubAction 将图床同步至Gitee。
OneDrive1.https://poweredby.cloud/可用 5G 个人OneDrive 储存PicGo插件：https://github.com/wayjam/picgo-plugin-s3优点：方便管理，访问快速问题：PicGo不支持4M以上文件上传
2.https://pigone.000webhostapp.com/可用 5T OneDrive For Business 储存（需自建应用程序或使用公共配置）PicGo插件：https://github.com/yuki-xin/ ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/p/a7fa.html" title="使用GithubAction推送仓库至任意网盘"><img class="post_bg" src="https://img.pighog.repl.co/2022/03/psc.jpg" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用GithubAction推送仓库至任意网盘"></a></div><div class="recent-post-info"><a class="article-title" href="/p/a7fa.html" title="使用GithubAction推送仓库至任意网盘">使用GithubAction推送仓库至任意网盘</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-03-10T01:12:34.000Z" title="发表于 2022-03-10 09:12:34">2022-03-10</time></span></div><div class="content">前言：Github站队，虽然不影响我们使用，但是这里发一个备份方法，希望帮助到有这样想法的大家。同时还有Github同步到Gitee，Gitlab的Action，后面会一起发（这个网上其实很多）。准备：下载 Rclone （用来生成 rclone.conf ）
下载 7Zip （用来压缩 rclone.conf 并设置密码 ）
准备好需要备份的仓库。
准备一个网盘，教程中使用 Alist 挂载阿里云。
其他网盘可以 百度 Rclone挂载 你想使用的网盘。
教程视频：哔哩哔哩_bilibili
开始：首先打开 Rclone Gui 或 CMD ，新建网盘。
在弹出的CMD中按流程新建，并生成配置文件。生成后打开 rclone.conf

打开 rclone.conf 后内容大致为如下：
123456[aliyun]type = webdav #网盘类别url = #webdav路径vendor = other #webdav供应商user = admin #webdav用户pass = #webdav密码 此密码在CMD中输入密码后自动生成

1234567[e5]type = one ...</div></div></div><div id="category-bar"><div class="category-bar-items" id="category-bar-items">
        <div class="category-bar-item" id="教程">
        <a href="/tags/教程/">教程</a>
        </div>
        <div class="category-bar-item" id="白嫖">
        <a href="/tags/白嫖/">白嫖</a>
        </div>
        <div class="category-bar-item" id="OneDrive">
        <a href="/tags/OneDrive/">OneDrive</a>
        </div>
        <div class="category-bar-item" id="网盘">
        <a href="/tags/网盘/">网盘</a>
        </div>
        <div class="category-bar-item" id="Replit">
        <a href="/tags/Replit/">Replit</a>
        </div>
        <div class="category-bar-item" id="日常">
        <a href="/tags/日常/">日常</a>
        </div>
        <div class="category-bar-item" id="GithubAction">
        <a href="/tags/GithubAction/">GithubAction</a>
        </div>
        <div class="category-bar-item" id="作业">
        <a href="/tags/作业/">作业</a>
        </div>
        <div class="category-bar-item" id="设计">
        <a href="/tags/设计/">设计</a>
        </div>
        <div class="category-bar-item" id="ZeroTier">
        <a href="/tags/ZeroTier/">ZeroTier</a>
        </div>
        <div class="category-bar-item" id="Alist">
        <a href="/tags/Alist/">Alist</a>
        </div>
        <div class="category-bar-item" id="毕设">
        <a href="/tags/毕设/">毕设</a>
        </div>
        <div class="category-bar-item" id="记录">
        <a href="/tags/记录/">记录</a>
        </div>
        <div class="category-bar-item" id="流水账">
        <a href="/tags/流水账/">流水账</a>
        </div>
        <div class="category-bar-item" id="自动部署">
        <a href="/tags/自动部署/">自动部署</a>
        </div>
        <div class="category-bar-item" id="图床">
        <a href="/tags/图床/">图床</a>
        </div>
        <div class="category-bar-item" id="SSH">
        <a href="/tags/SSH/">SSH</a>
        </div></div><a class="category-bar-more" href="/tags/">更多</a></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/#content-inner">2</a><a class="extend next" rel="next" href="/page/2/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="/img/0.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">金桔猪</div><div class="author-info__description">喜欢就要认真做</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">14</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">17</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/valetzx"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://space.bilibili.com/156751467" target="_blank" title="BliBli"><i class="fa-brands fa-bilibili"></i></a><a class="social-icon" href="mailto:mail@pigpigeon.onmicrosoft.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="https://qm.qq.com/cgi-bin/qm/qr?k=2wPlQeQh4Dy5o3hcKUve5I0A4NkZRdIR&amp;noverify=0" target="_blank" title="QQ"><i class="fab fa-qq"></i></a><a class="social-icon" href="https://cloud.learnonly.xyz" target="_blank" title="Cloud"><i class="fa-solid fa-cloud-arrow-up"></i></a><a class="social-icon" href="https://alist.learnonly.xyz" target="_blank" title="Cloud"><i class="fa-solid fa-cloud-arrow-down"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">Nothing important Have fun <br /> 主站：<a href="https://pighog.vercel.app">https://pighog.vercel.app</a> <br /> 静态：<a target="_blank" rel="noopener" href="https://valetzx.github.io">https://valetzx.github.io</a> <br /> 博客：<a target="_blank" rel="noopener" href="https://allblog.vercel.app">https://allblog.vercel.app</a></div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/p/799e.html" title="使用GithubAction给任意网页截图"><img src="https://bing.icodeq.com/?1" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用GithubAction给任意网页截图"/></a><div class="content"><a class="title" href="/p/799e.html" title="使用GithubAction给任意网页截图">使用GithubAction给任意网页截图</a><time datetime="2022-05-08T00:15:08.000Z" title="发表于 2022-05-08 08:15:08">2022-05-08</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/p/34c.html" title="使用Graph获取微软永久客户端秘钥"><img src="https://bing.icodeq.com/?550029691" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用Graph获取微软永久客户端秘钥"/></a><div class="content"><a class="title" href="/p/34c.html" title="使用Graph获取微软永久客户端秘钥">使用Graph获取微软永久客户端秘钥</a><time datetime="2022-04-30T15:15:22.000Z" title="发表于 2022-04-30 23:15:22">2022-04-30</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/p/c99d.html" title="在Replit中自建监控网站"><img src="https://bing.icodeq.com/?550029691" onerror="this.onerror=null;this.src='/img/404.gif'" alt="在Replit中自建监控网站"/></a><div class="content"><a class="title" href="/p/c99d.html" title="在Replit中自建监控网站">在Replit中自建监控网站</a><time datetime="2022-04-22T15:15:22.000Z" title="发表于 2022-04-22 23:15:22">2022-04-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/p/1849.html" title="在Replit中配置Nix环境"><img src="https://gitlab.com/valetzx/pubfile/raw/main/img/computer/star1.jpg" onerror="this.onerror=null;this.src='/img/404.gif'" alt="在Replit中配置Nix环境"/></a><div class="content"><a class="title" href="/p/1849.html" title="在Replit中配置Nix环境">在Replit中配置Nix环境</a><time datetime="2022-04-20T04:15:22.000Z" title="发表于 2022-04-20 12:15:22">2022-04-20</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/p/cb20.html" title="使用Replit白嫖3G MC 服务器"><img src="https://img.pighog.repl.co/2022/03/psc.jpg" onerror="this.onerror=null;this.src='/img/404.gif'" alt="使用Replit白嫖3G MC 服务器"/></a><div class="content"><a class="title" href="/p/cb20.html" title="使用Replit白嫖3G MC 服务器">使用Replit白嫖3G MC 服务器</a><time datetime="2022-04-19T02:15:22.000Z" title="发表于 2022-04-19 10:15:22">2022-04-19</time></div></div></div></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/ZeroTier/" style="font-size: 1.15em; color: rgb(175, 96, 69)">ZeroTier<sup>1</sup></a><a href="/tags/%E7%99%BD%E5%AB%96/" style="font-size: 1.4em; color: rgb(129, 58, 3)">白嫖<sup>9</sup></a><a href="/tags/%E7%BD%91%E7%9B%98/" style="font-size: 1.3em; color: rgb(11, 5, 104)">网盘<sup>4</sup></a><a href="/tags/OneDrive/" style="font-size: 1.35em; color: rgb(67, 80, 18)">OneDrive<sup>5</sup></a><a href="/tags/Alist/" style="font-size: 1.15em; color: rgb(147, 28, 43)">Alist<sup>1</sup></a><a href="/tags/%E6%AF%95%E8%AE%BE/" style="font-size: 1.15em; color: rgb(46, 40, 30)">毕设<sup>1</sup></a><a href="/tags/%E4%BD%9C%E4%B8%9A/" style="font-size: 1.2em; color: rgb(33, 96, 119)">作业<sup>2</sup></a><a href="/tags/%E8%AE%BE%E8%AE%A1/" style="font-size: 1.2em; color: rgb(2, 87, 73)">设计<sup>2</sup></a><a href="/tags/%E6%97%A5%E5%B8%B8/" style="font-size: 1.25em; color: rgb(121, 83, 24)">日常<sup>3</sup></a><a href="/tags/%E8%AE%B0%E5%BD%95/" style="font-size: 1.15em; color: rgb(72, 143, 79)">记录<sup>1</sup></a><a href="/tags/%E6%B5%81%E6%B0%B4%E8%B4%A6/" style="font-size: 1.15em; color: rgb(123, 193, 188)">流水账<sup>1</sup></a><a href="/tags/%E6%95%99%E7%A8%8B/" style="font-size: 1.45em; color: rgb(32, 67, 147)">教程<sup>10</sup></a><a href="/tags/GithubAction/" style="font-size: 1.25em; color: rgb(161, 196, 132)">GithubAction<sup>3</sup></a><a href="/tags/%E8%87%AA%E5%8A%A8%E9%83%A8%E7%BD%B2/" style="font-size: 1.15em; color: rgb(81, 19, 42)">自动部署<sup>1</sup></a><a href="/tags/%E5%9B%BE%E5%BA%8A/" style="font-size: 1.15em; color: rgb(171, 153, 106)">图床<sup>1</sup></a><a href="/tags/SSH/" style="font-size: 1.15em; color: rgb(193, 115, 108)">SSH<sup>1</sup></a><a href="/tags/Replit/" style="font-size: 1.3em; color: rgb(80, 61, 191)">Replit<sup>4</sup></a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/05/"><span class="card-archive-list-date">五月 2022</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/04/"><span class="card-archive-list-date">四月 2022</span><span class="card-archive-list-count">6</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/03/"><span class="card-archive-list-date">三月 2022</span><span class="card-archive-list-count">4</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/02/"><span class="card-archive-list-date">二月 2022</span><span class="card-archive-list-count">3</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2022-02-02T02:00:00.000Z"></div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">6.4k</div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2022-05-20T15:38:12.638Z"></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">search.local_search.label</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div id="rightMenu"><div class="rightMenu-group rightMenu-small"><div class="rightMenu-item" id="menu-backward"><i class="fa-solid fa-arrow-left"></i></div><div class="rightMenu-item" id="menu-forward"><i class="fa-solid fa-arrow-right"></i></div><div class="rightMenu-item" id="menu-refresh"><i class="fa-solid fa-arrow-rotate-right"></i></div><div class="rightMenu-item" id="menu-home"><i class="fa-solid fa-house"></i></div></div><div class="rightMenu-group rightMenu-line"><a class="rightMenu-item" id="menu-radompage" href="/random.html"><i class="fa-solid fa-shoe-prints"></i><span>随便逛逛</span></a><div class="rightMenu-item" id="menu-darkmode"><i class="fa-solid fa-moon"></i><span>切换模式</span></div><div class="rightMenu-item" id="menu-translate"><i class="fa-solid fa-earth-asia"></i><span>繁简切换</span></div></div></div><div id="rightmenu-mask" onclick="RemoveRightMenu()"></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.js"></script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script>function subtitleType () {
  if (true) { 
    window.typed = new Typed("#subtitle", {
      strings: ["此封面摄于20180720宜兴世纪大桥南长桥","何其荣幸 何德何能"],
      startDelay: 300,
      typeSpeed: 150,
      loop: true,
      backSpeed: 50
    })
  } else {
    document.getElementById("subtitle").innerHTML = '此封面摄于20180720宜兴世纪大桥南长桥'
  }
}

if (true) {
  if (typeof Typed === 'function') {
    subtitleType()
  } else {
    getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
  }
} else {
  subtitleType()
}</script></div><script async data-pjax src="https://getoken.pighog.repl.co/rightmenu.js"></script><script data-pjax="" src="https://getoken.pighog.repl.co/jquery.min.js"></script><script async src="https://getoken.pighog.repl.co/categoryBar.js"></script></div><!-- hexo injector body_end start --> <script data-pjax>if(document.getElementById('recent-posts') && location.pathname =='/'){
    
    var parent = document.getElementById('recent-posts');
    var child = '<div class="recent-post-item" style="height: auto;width: 100%"><div class="blog-slider swiper-container-fade swiper-container-horizontal" id="swiper_container"><div class="blog-slider__wrp swiper-wrapper" style="transition-duration: 0ms"><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="http://bing.icodeq.com/?2" alt="http://bing.icodeq.com/?2"/></div><div class="blog-slider__content"><span class="blog-slider__code">2022-02-25</span><a class="blog-slider__title" href="p/a5af.html">我的21年毕设</a><div class="blog-slider__text">这是我2021年的毕业设计，主题为 “魔术盒子”：将4米5 见方的盒子排列组合，形成建筑原始结构，并进行配套室内、外环境设计；</div><a class="blog-slider__button" href="p/a5af.html">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://gitlab.com/valetzx/pubfile/raw/main/img/computer/star1.jpg" alt="https://gitlab.com/valetzx/pubfile/raw/main/img/computer/star1.jpg"/></div><div class="blog-slider__content"><span class="blog-slider__code">2022-02-26</span><a class="blog-slider__title" href="p/a95e.html">截止文章发表日期所获成就及奖项</a><div class="blog-slider__text">2017-2021获奖情况</div><a class="blog-slider__button" href="p/a95e.html">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://img.pighog.repl.co/2022/04/600kens.jpg" alt="https://img.pighog.repl.co/2022/04/600kens.jpg"/></div><div class="blog-slider__content"><span class="blog-slider__code">2022-02-24</span><a class="blog-slider__title" href="p/13bd.html">课程作业-别墅设计</a><div class="blog-slider__text">大作业，两个联排打通改一户，要配置电梯。点击查看彩平等详细布置方案。</div><a class="blog-slider__button" href="p/13bd.html">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://img.pighog.repl.co/2022/03/swiper.jpg" alt="https://img.pighog.repl.co/2022/03/swiper.jpg"/></div><div class="blog-slider__content"><span class="blog-slider__code">2022-03-08</span><a class="blog-slider__title" href="p/dc3a.html">做完毕设后的假期</a><div class="blog-slider__text">2022</div><a class="blog-slider__button" href="p/dc3a.html">详情</a></div></div></div><div class="blog-slider__pagination swiper-pagination-clickable swiper-pagination-bullets"></div></div></div>';
    console.log('已挂载swiper')
    parent.insertAdjacentHTML("afterbegin",child)}
     </script>
<script data-pjax src="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-swiper/swiper/swiper.min.js"></script>
<script data-pjax src="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-swiper@0.18/swiper/swiperindex.js"></script>
<style></style><!-- hexo injector body_end end --><script>"use strict";if("serviceWorker"in navigator){navigator.serviceWorker.register("service-worker.js").then((function(reg){reg.onupdatefound=function(){var installingWorker=reg.installing;installingWorker.onstatechange=function(){switch(installingWorker.state){case"installed":if(navigator.serviceWorker.controller){console.log("New or updated content is available.")}else{console.log("Content is now available offline!")}break;case"redundant":console.error("The installing service worker became redundant.");break}}}}))["catch"]((function(e){console.error("Error during service worker registration:",e)}))}</script></body></html>